home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Utilities / Communications / InterSLIP Remote 1.2.2 / Developers / Source Code - Readme < prev   
Text File  |  1996-05-03  |  2KB  |  65 lines

  1. About ISAppleEventsIntf.p, ISAppleEvents.h
  2.  
  3. Use this file if you want to control InterSLIP Remote directly from your program. It contains all necessary constants (see the "Scripting InterSLIP Remote" in the "Readme"-file for details on commands, its parameters and properties).
  4.  
  5.  
  6. About InterSLIP.p
  7.  
  8. This unit contains routines which help you to access the InterSLIP Driver.
  9.  
  10.  
  11.  FUNCTION InterSlipOpenDriver (VAR drvrRefNum: Integer): OSErr;
  12.  
  13. Use this function to open the InterSLIP Driver (".InterSLIP"). If a result <> noErr is returned, probably the InterSLIP extension was not load at startup.
  14.  
  15.  
  16.  FUNCTION InterSlipConnect (drvrRefNum: Integer): OSErr;
  17.  
  18. This function tells the InterSLIP driver to try to connect.
  19.  
  20.  
  21.  FUNCTION InterSlipDisconnect (drvrRefNum: Integer): OSErr;
  22.  
  23. This function tells the InterSLIP driver to disconnect.
  24.  
  25.  
  26.  FUNCTION InterSlipReport (drvrRefNum: Integer; VAR report: InterSlipReportRec): OSErr;
  27.  
  28. This function reports the current state of the driver:
  29.  
  30.  CONST
  31.   linkIdle = 0;
  32.   linkWaitingForModem = 1;
  33.   linkDialing = 2;
  34.   linkLoggingIn = 3;
  35.   linkConnected = 4;
  36.   linkHangingUp = 5;
  37.  
  38.  TYPE
  39.   InterSlipReportRec = RECORD
  40.     linkState: LongInt;
  41.     msgSeqNo: LongInt;
  42.     msgStr: Ptr;
  43.    END;
  44.  
  45. linkState contains a number between 0 and 5 which tells the current state of the link (see contants).
  46.  
  47. msgSeqNo can be used to distinguesh between different CCL messages. If it is not the same as it was after the last call, the message has changed.
  48.  
  49. msgStr points to a C string which contains the current CCL message. Use CToPStr (also declared in this unit) to convert it to a pascal string.
  50.  
  51.  
  52. You may use this units in your programs without restrictions. Please give me credit. See the InterSLIP manual for details. Feel free to mail me for questions:
  53.  
  54. matthias@kagi.com
  55. wuttke@stein.teuto.de
  56.  
  57. Matthias Wuttke
  58. Hilterweg 14
  59. 33803 Steinhagen
  60. +49 (0) (5204) 8502
  61. Germany
  62.  
  63. P.S.:
  64. Look at my cool new WWW-page:
  65. http://www.kagi.com/authors/matthias/